package com.vca.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @author chenbing
 * @date 2022/11/24   13:12
 */
@Data
@ApiModel(value = "GiveAwayToUserRequest对象", description = "赠送课程/讲座/展览请求对象")
public class GiveAwayToUserRequest {
    @ApiModelProperty(value = "用户ID集合，以“,”分割")
    private String userIds;

    @ApiModelProperty(value = "赠送类型 0=课程 1=讲座 2=展览")
    @NotNull(message = "赠送类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "课程/讲座/展览主键ID")
    @NotNull(message = "课程/讲座/展览主键ID不能为空")
    private Long mainId;

    @ApiModelProperty(value = "课程/讲座/展览排期ID")
    @NotNull(message = "课程/讲座/展览排期ID不能为空")
    private Long scheduleId;
}
